package com.imooc.miaosha.service;

import com.imooc.miaosha.util.JsonData;

import java.lang.reflect.InvocationTargetException;

public interface PayService {
    public JsonData GeneratePay(Long orderId, Long userId) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException;
    public JsonData checkPay(Long orderId, Long userId);
    public void updateOrderStatus(Long orderId, Long userId, byte status);
}
